projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d0434
)
Mention of -rdynamic in GtkBuilder lookup error
author
Ryan Lortie
<desrt@desrt.ca>
Sat, 27 Jul 2013 22:15:17 +0000
(18:15 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Sat, 27 Jul 2013 22:15:17 +0000
(18:15 -0400)
We toss a g_warning() if we can't find the user's signal handler. A good chunk
of the time this will be because they didn't use -rdynamic. Add a note about
that.
gtk/gtkbuilder.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbuilder.c
b/gtk/gtkbuilder.c
index 1006619af93aed36d1b29caf3ffc721f8ded3ebb..5e3af21a7b19d5248c4ec04f670e959b6415e2db 100644
(file)
--- a/
gtk/gtkbuilder.c
+++ b/
gtk/gtkbuilder.c
@@
-1579,7
+1579,7
@@
gtk_builder_connect_signals_default (GtkBuilder *builder,
if (!g_module_symbol (args->module, handler_name, (gpointer)&func))
{
- g_warning ("Could not find signal handler '%s'", handler_name);
+ g_warning ("Could not find signal handler '%s'
. Did you compile with -rdynamic?
", handler_name);
return;
}
}